from google.appengine.ext import ndb

class Student(ndb.Model):
   name = ndb.StringProperty(indexed = False, default = "")
   house = ndb.StringProperty(indexed = False, default = "")
   room = ndb.IntegerProperty(indexed = False, default = 0)
   date = ndb.DateTimeProperty(auto_now_add=True)

class House(ndb.Model):
   name = ndb.StringProperty(indexed = False, default = "")
   rooms = ndb.IntegerProperty(indexed = False, default = 0)
   show = ndb.IntegerProperty(indexed = False, default = 0)
   date = ndb.DateTimeProperty(auto_now_add=True)
